package com.javaziliao.design.items.composite;

public abstract class AbstractProductItem {
    public void addProductItem(AbstractProductItem item) {
        throw new UnsupportedOperationException("不支持子级添加");
    }

    public void delProductChild(AbstractProductItem item) {
        throw new UnsupportedOperationException("不支持子级删除");
    }
}
